-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Use Node v12.13.0 (LTS) for development #4322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
... to make sure these version are used when making new releases
package.json
Outdated
@@ -43,7 +43,7 @@ | |||
"start-image_viewer": "node devtools/image_viewer/server.js", | |||
"start": "npm run start-test_dashboard", | |||
"baseline": "node tasks/baseline.js", | |||
"preversion": "check-node-version --node 10 --npm 6 && npm-link-check && npm ls --prod", | |||
"preversion": "check-node-version --node 12.13 --npm 6.12.0 && npm-link-check && npm ls --prod", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@archmoj I chose slightly more strict version checks this time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now requesting for npm 6.13.x
7759c76
@archmoj I got the test to pass on CI and locally. Tagging as |
Thanks very much @etpinard |
Node v12 is now LTS, so let's start using it.
Note the node-v12 docker containers provided by CircleCI ship with Chrome v78. This makes some of our jasmine tests fail.
The failing tests are:
plotly.js/test/jasmine/tests/hover_label_test.js
Lines 2527 to 2551 in 742b83d
This ⬆️ one can probably be fixed be tweaking the pixels values in the assertions.
plotly.js/test/jasmine/tests/colorbar_test.js
Lines 400 to 460 in 742b83d
This ⬆️ one is odd. Something might be up with
{editable: true}
colorbar drag interactions?plotly.js/test/jasmine/tests/splom_test.js
Lines 946 to 998 in 742b83d
This ⬆️ one might means that one the most painful workaround in the library got fixed (see #2939)
@plotly/plotly_js I won't have time to fixup the jasmine tests before my vacation. This is not at all a high priority issue, but if you're interested in getting this merged, feel free to push to this branch.